//
//  PopTips.h
//  popViewDemo
//
//  Created by warlee on 13-1-22.
//
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

typedef enum{
    PopTipsAtTop,
    PopTipsAtMiddle,
    PopTipsAtBottom
}PopTipsAt;
typedef enum{
    PopTipsStyleConner,
    PopTipsStyleShadow
}PopTipsStyle;

#define POPTIPS_ALPHA   0.8

@interface PopTips : UIView{
    UIView  *    loadingView;
    BOOL         isLoadingViewDisplay;
    PopTipsAt    popTipsAt;
    PopTipsStyle popTipsStyle;
}
+(void)tips:(UIView *)superView Msg:(NSString *)msg;

+(void)tipsAtMiddle:(UIView *)superView Msg:(NSString *)msg;
+(void)tipsAtTop:(UIView *)superView Msg:(NSString *)msg;


+(void)tips:(UIView *)superView Msg:(NSString *)msg FontSize:(int)fontSize;
+(void)tips:(UIView *)superView Msg:(NSString *)msg FontSize:(int)fontSize
     TipsAt:(PopTipsAt)tipsAt TipsStyle:(PopTipsStyle)tipsStyle
     TipsBackColor:(UIColor *)tipsBackColor tipsTextColor:(UIColor *)tipsTextColor;


-(void)loadingAdd:(UIView *)superView;
-(void)loadingClose;

@end
